package com.heima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.pojo.domain.Order;
import com.heima.pojo.domain.PageResult;
import com.heima.pojo.dto.OrderPageQueryDto;

import java.time.LocalDateTime;

public interface OrderService extends IService<Order> {
    PageResult searchOrder(OrderPageQueryDto oDto);

    Integer searchOrderCount(LocalDateTime start, LocalDateTime end);

    Integer searchOrderAmount(LocalDateTime start, LocalDateTime end);
}
